/* Copyright © 2010 LPRM
Universidade Federal do Espírito Santo - RNP-GT CWTools

This file is part of JoinUs!.

JoinUs! is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

JoinUs! is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with JoinUs!. If not, see <http://www.gnu.org/licenses/>. */
package android.isisufes.newclasses;

/*Not used*/

public class Campaign {
	String name;
	String description;
	String creator;
	int id;
	// expiration;
	
	@Override
	public String toString() {
		return this.name;
	}
}

/* Tabela:
activeCamp (id INTEGER, lat INTEGER, lon INTEGER, radius INTEGER,
user TEXT NOT NULL, campName TEXT NOT NULL, authorName TEXT,
desc TEXT, expDate TEXT, status INTEGER NOT NULL, public INTEGER,
PRIMARY KEY (id, user)) */


/*TODO: Classes e métodos para:
	obter as campanhas do servidor;
	manipular o banco de dados local;
	salvar uma nova campanha no servidor;*/